package com.fs;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动类
 */
@ComponentScan("com.fs.*")
@SpringBootApplication
//@MapperScan("com.fs.mapper")
@EnableTransactionManagement
@EnableWebSecurity //开启Spring-security认证
public class MyApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class, args);
    }

}
